home *** CD-ROM | disk | FTP | other *** search
- Subject: Any tips for Building ODF with CW8 CFM68k?
- Sent: 3/23/96 9:21 AM
- Received: 3/25/96 8:25 AM
- From: Masahiro Abe, m_abe@sainet.or.jp
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Hi all,
- I've long tried to build ODF libraries and examples with CodeWarrior for
- my IIci. I haven't succeeded it yet. I would like to see if anyone had done
- this with latest release of CW8 with latest C/C++ 68k patch, and would like
- to know how it was done in detail.
-
- In my case, all source get compiled fine (with several modifications based
- on WWW and NewsGroup info), but at link time, linker always complain that
- it couldn't resolve references to "somGetGlobalEnvironment" or other SOM
- related name. I've disassembled the caller and found it is really calling
- "somGetGlobalEnvironment", but "somlib" shared library has entry name of
- "_%somGetGlobalEnvironment".
- If I build DrawEditor68k sample part, it correctly references to
- "_%somGetGlobalEnvironment".
-
- Is my compiler/Linker setting causing this name mismatch? Does anybody have
- any insight on this?
-
- I would greatly appreciate any suggestion/help.
-
- BTW, following is my compiler/linker preferences
- --"68K CodeGen" preferences
- {Struct Alignment:mc68k} {Peephole Optimizer:true}
- {CSE Optimizer:true} {Optimize For Size:false}
- {Use Profiler:false} {Code Model:smart}
- {MC68020 CodeGen:true} {MC68881 CodeGen:false}
- {Far Method Tables:false} {Far String Constants:true}
- {Four Bytes Ints:true} {Eight Byte Double:true}
- {Far Data:false} {PC Relative Strings:false}
- {MPW Calling Conventions:false}
-
- --"C/C++ Compiler"
- {Activate CPlusPlus:true} {ARM Conformance:true}
- {ANSI Keywords Only:false} {Require Function Prototypes:true}
- {Expand Trigraph Sequences:false} {Enums Always Ints:false}
- {MPW Pointer Type Rules:false} {Exception Handling:true}
- {Dont Inline:false} {Pool Strings:false}
- {Dont Reuse Strings:false} {ANSI Strict:false}
- {MPW Newlines:false} {RTTI:true}
- {MultiByte Aware:true}
-
- Thanks in advance.
- #####################################################################
- ##### Masahiro Abe <Internet : m_abe@sainet.or.jp > #####
- ##### <Niftyserve : BXA03713@niftyserve.or.jp> #####
- #####################################################################
-